package com.dinnerwithfriends.client.emails;

import com.google.gwt.core.client.GWT;
import com.google.gwt.user.client.rpc.AsyncCallback;

public class SendEmail {

	private final GreetingServiceAsync greetingService = GWT
			.create(GreetingService.class);

	public SendEmail(String message) {

		greetingService.greetServer(message, new AsyncCallback<String>() {
			public void onFailure(Throwable caught) {

			}

			public void onSuccess(String result) {

			}
		});
	}

}
